package cs5226.model;

import java.sql.Timestamp;
import java.util.List;

public abstract class Statistics {
	private Timestamp ts;
	
	public abstract String getText();
	
	public abstract Statistics aggregate(List<Statistics> statList);
	
	public String toString () {
		return "[" + ts.toString() + "] " + getText();
	}

	public Timestamp getTs() {
		return ts;
	}

	public void setTs(Timestamp ts) {
		this.ts = ts;
	}
}
